import http from "../utils/http.js"

export function add(params){
	return http.post("/article/add",params);
}

export function list(params){
	return http.get("/article/list",params);
}

export function detail(params){
	return http.get("/article/detail",params);
}
export function update(params){
	return http.post("/article/update",params);
}
export function del(params){
	return http.delete("/article/delete",params);
}